package cn.promonkey.api.system.entity;import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.promonkey.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/** @author ninelock-ai */
@Data
@TableName("`system`")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class System extends BaseEntity { 
  /** 企业ID */
  @TableField(value = "business_id")
  private Long businessId;
  /** 系统id */
  @TableId(value = "system_id", type = IdType.AUTO)
  @TableField(value = "system_id")
  private Long systemId;
  /** 系统名称 */
  @TableField(value = "system_name")
  private String systemName;
  /** 系统地址 */
  @TableField(value = "url")
  private String url;
  /** 创建用户ID */
  @TableField(value = "user_id")
  private Long userId;
  /** 类型 */
  @TableField(value = "type")
  private Integer type;
  /** 状态 */
  @TableField(value = "status")
  private Integer status;
}
